//
//  Common.swift
//  Weibo
//
//  Created by xu on 2017/3/21.
//  Copyright © 2017年 xuantong. All rights reserved.
//

import UIKit

//第三方登录授权配置信息

let SWITCHROOTVIEWCONTROLLERNOTI = "SWITCHROOTVIEWCONTROLLERNOTI"

// 通知名称统一管理

let EMOTICONDELETEBUTTONCLICK = "EMOTICONDELETEBUTTONCLICK"

let EMOTICONBUTTONCLICKNOTI = "EMOTICONBUTTONCLICKNOTI"
let EMOTICONDELETEBUTTONCLICKNOTI = "EMOTICONDELETEBUTTONCLICKNOTI"



let redirect_uri = "http://www.itheima.com"
let client_id = "744530034"
let client_secret = "82f672a4a0634e2059a2606ba4f7daf0"


// 随机颜色
func randomColor() -> UIColor{
    let r = CGFloat(arc4random()%256)
    let g = CGFloat(arc4random()%256)
    let b = CGFloat(arc4random()%256)
    return UIColor(red: r/255, green: g/255, blue: b/255, alpha: 1)
}



// 微博使用字体大小汇集
let FONTSIZEOFSMALL: CGFloat = 10
let FONTSIZEOFNORMAL: CGFloat = 14
let FONTSIZEOFBIG: CGFloat = 18




let ScreenWidth: CGFloat = UIScreen.main.bounds.width
let ScreenHeight: CGFloat = UIScreen.main.bounds.height

let kChoseRootViewController = "kChoseRootViewController"
